package com.kl.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2021-10-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("collection")
@ApiModel(value="Collection对象", description="")
public class CollectionDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "代收货款id")
    @TableId(value = "cid", type = IdType.AUTO)
    private Long cid;

    @ApiModelProperty(value = "运单id")
    private Long wid;

    @ApiModelProperty(value = "订单id")
    private Long oid;

    @ApiModelProperty(value = "开单日期")
    private LocalDateTime date;

    @ApiModelProperty(value = "收款账号")
    private String shroffAccount;

    @ApiModelProperty(value = "开户银行")
    private String bankType;

    @ApiModelProperty(value = "退款类型：0(仅退款) 1(退货退款) 2(产品缺陷退货) 3(运输过程中损坏产品退货) 4(包装过程失误退款) 5(交货延迟导致退货)")
    private String refundType;

    @ApiModelProperty(value = "金额")
    private Long money;

    @ApiModelProperty(value = "手续费")
    private Long serviceCharge;

    @ApiModelProperty(value = "0(未付款) 1(已付款) 2(交易关闭)")
    private Integer paymentStatus;


}
